export const optionCaseMaterial = {
    addBtn: false,
    refreshBtn: false,
    columnBtn: false,
    editBtn: false,
    delBtn: false,
    border: true,
    align:'center',
    index: true,
    indexLabel: '序号',
    indexWidth: 60,
    labelWidth: 120,
    searchMenuSpan: 6,
    searchLabelWidth:120,
    searchMenuPosition:'left',
    menuWidth: 300,
    column: [
        {
            label: "材料编码",
            prop: "materialNo",
            hide: true,
        },
        {
            label: "材料名称",
            prop: "materialName",
            align: "left",
            overHidden: true,
            //search: true,
        },
        {
            label: "材料类型",
            prop: "materialType",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=material_type",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
            width: 130,
            hide: true,
        },
        {
            label: "材料必要性",
            prop: "materialNecessity",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=is_need",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
            width: 100,
        },
        {
            label: "材料形式",
            prop: "materialShape",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=material_format",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
            width: 100,
        },
        {

            label: "是否支持告知承诺书",
            prop: "isInformPromise",
            type: "radio",
            dicData: [
                {
                    label: "是",
                    value: "1"
                },
                {
                    label: "否",
                    value: "0"
                }
            ],
            width: 100,
        },
        {
            label: "收取方式",
            prop: "getType",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=material_get_type",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
            slot: true,
            width: 150,
        },
        {
            label: "材料收取状态",
            prop: "isCollect",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=material_get_state",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
            slot: true,
            width: 130,
        },
        {
            label: "空表下载",
            prop: "emptyListPath",
            hide: true
        },
        {
            label: "样表下载",
            prop: "uploadModelPath",
            hide: true
        }
    ]
};

export const optionTableMaterial = {
    addBtn: false,
    refreshBtn: false,
    columnBtn: false,
    editBtn: false,
    delBtn: false,
    border: true,
    align:'center',
    index: true,
    indexLabel: '序号',
    indexWidth: 60,
    labelWidth: 120,
    searchMenuSpan: 6,
    searchLabelWidth:120,
    searchMenuPosition:'left',
    column: [
        {
            label: "材料编码",
            prop: "materialNo",
            hide: true,
        },
        {
            label: "材料名称",
            prop: "materialName",
            align: "left",
            overHidden: true,
           // search: true,
        },
        {
            label: "材料类型",
            prop: "materialType",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=material_type",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
        },
        {
            label: "材料必要性",
            prop: "materialNecessity",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=is_need",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
        },
        {
            label: "材料形式",
            prop: "materialShape",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=material_format",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
        },
        {

            label: "是否支持告知承诺书",
            prop: "isInformPromise",
            type: "radio",
            dicData: [
                {
                    label: "是",
                    value: "1"
                },
                {
                    label: "否",
                    value: "0"
                }
            ],
        },
        {
            label: "收取方式",
            prop: "getType",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=material_get_type",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
            slot: true,
        },
        {
            label: "材料收取状态",
            prop: "isCollect",
            type: "select",
            dicUrl: "/api/blade-system/dict-biz/dictionary?code=material_get_state",
            props: {
                label: "dictValue",
                value: "dictKey"
            },
            slot: true,
        },
        {
            label: "空表下载",
            prop: "emptyListPath",
            hide: true
        },
        {
            label: "样表下载",
            prop: "uploadModelPath",
            hide: true
        }
    ]
};

